package com.org.web.handle.vo;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * @author devg
 * @Date 2020/3/3 9:47
 */

@Getter
@Setter
public class CarVo extends ProdVo {

  @NotNull(message = "商品数量不能为空")
  @Max(value = 99,message = "商品数量不能大于99")
  @Min(value = 1,message = "商品数量不能小于1")
  private Integer prodNum;

  private String addTime;

}
